package team.seekers.oj;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;

@EnableAsync
@SpringBootApplication
@EnableDiscoveryClient()
@EnableFeignClients()
@MapperScan(basePackages = {"team.seekers.oj.course.mapper","team.seekers.oj.lesson.mapper"})
public class TeachServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(TeachServiceApplication.class, args);
    }

}
